package com.example.shoppingmall.service;

import com.example.shoppingmall.dao.OfficialMapper;
import com.example.shoppingmall.pojo.Applet;
import com.example.shoppingmall.pojo.Official;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OfficialService {
    @Resource
    OfficialMapper officialMapper;

    public Official getOfficial(){

        return officialMapper.getOfficial();
    }

    public int update(Official official){

        return officialMapper.update(official);
    }

    public Applet getApplet(){

        return officialMapper.getApplet();
    }

    public int updateApplet(Applet applet){

        return officialMapper.updateApplet(applet);
    }



}
